package com.smartwebx.ha.web.admin.module.screen.group;

import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.citrus.turbine.dataresolver.Param;
import com.smartwebx.ha.biz.assign.HaGroupManager;

public class AjaxDeleteGroup {
	@Autowired
	private HaGroupManager haGroupManager;

	public void execute(@Param("groupIds") String groupIds) throws Exception {
		if (StringUtils.isNotBlank(groupIds)) {
			haGroupManager.delGroup(groupIds);
		}
	}

}
